package com.example.food_contract_system.mapper;

import com.example.food_contract_system.domain.Agency;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Lhy
* @description 针对表【agency】的数据库操作Mapper
* @createDate 2023-07-06 09:21:49
* @Entity com.example.food_contract_system.domain.Agency
*/
@Mapper
public interface AgencyMapper extends BaseMapper<Agency> {

    void updateStatus(@Param("opt") String opt, @Param("id") String id);

    int deleteByIdByMyself(@Param("id") String id);


    List<Agency> selectListMyself(@Param("s") String s);

    void updateAccountStatus(@Param("c") String c, @Param("aId") String aId);

    void updateMyself(@Param("aId") String aId, @Param("value") String value);
}




